from meiduo_admin.serializers.prem_serializers import *
from django.contrib.auth.models import Permission,ContentType


class PREM___PremView(ModelViewSet):
    queryset = Permission.objects.all()
    serializer_class = PREM___PremModelSerialzer
    pagination_class = MyPage


class PREM___PremContextTypesView(ListAPIView):
    queryset = ContentType.objects.all()
    serializer_class = PREM___PremContextSerializer

